<style>
    .no-data{height: 117px;}
    .no-data span{margin: 10px auto 0;height: 37px;}

</style>
<div class="ui-dialog-content" style="width: 900px;" ng-controller="MoveSalesController">
    <div class="row clearfix">
        <div class="col-sm-6">
            <div class="clearfix">
                <div class="search clearfix">
                    <div class="clearfix">
                        <input type="text" class="input-text fl" placeholder="姓名/手机号" ng-model="keyword" style="width: 366px;">
                        <button class="fl btn" ng-click="search()">搜索</button>
                    </div>
                    <div class="clearfix mt10">
                        <span class="fl lh30">原组织：</span>
                        <div style="width:383px" class="fl limit-ie f12 ">
                            <div class="select">
                        <span class="select-border js-select2" ng-click="setOldOrgDisplay()">
                            <input class="select-text" type="text" readonly="" value="{{selected.group_name || selected.team_name}}" placeholder="请选择">
                            <span class="select-icon">
                                <i class="select-icon-arrow"></i>
                            </span>
                        </span>
                                <div class="select-sub" ng-style="oldOrgStyle">
                                    <div id="tree_table_old"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div  class="table-wrap mt5" style="height: 341px;">
                <table width="100%">
                    <thead>
                    <tr class="thead ta-l"  height="30">
                        <th style="width:80px;">
                            <input type="checkbox" ui-checkbox="" ng-model="checker.all" ng-change="checker.selectAll()">
                            序号
                        </th>
                        <th style="width:120px">姓名</th>
                        <th style="width:120px">手机号</th>
                        <th style="width:120px">身份</th>
                        <th style="width:20px;text-align:right;padding-right: 5px;">
                            <a style="cursor: pointer;"><i class="freshen"></i></a>
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="member in memberList" ng-show="!keyword || member.mobile_tel.indexOf(keyword) > -1 || member.user_name.indexOf(keyword) > -1">
                        <td height="30">
                            <input type="checkbox"
                                   ui-checkbox=""
                                   ng-change="checker.selectItem($index)"
                                   ng-model="member.checked">
                            {{$index + 1}}
                        </td>
                        <td height="30">{{member.user_name}}</td>
                        <td height="30">{{member.mobile_tel}}</td>
                        <td height="30">{{member.user_type}}</td>
                        <td></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="clearfix" style="margin-top: 41px;">
                <div class="search clearfix fl">
                    <span class="fl lh30">新组织：</span>
                    <div style="width:383px" class="fl limit-ie f12">
                        <div class="select">
                        <span class="select-border js-select2" ng-click="setNewOrgDisplay()">
                            <input class="select-text" type="text" value="{{selectedOld.group_name || selectedOld.team_name}}" readonly="" placeholder="请选择">
                            <span class="select-icon">
                                <i class="select-icon-arrow"></i>
                            </span>
                        </span>
                            <div class="select-sub" ng-style="newOrgStyle">
                                <div id="tree_table_new"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div  class="table-wrap mt5" style="height: 341px;">
                <table width="100%">
                    <thead>
                    <tr class="thead ta-l" height="34">
                        <th style="width:80px;">
                            序号
                        </th>
                        <th style="width:120px;">姓名</th>
                        <th style="width:129px;">手机号</th>
                        <th style="width:120px;">身份</th>
                        <th style="width:120px;">操作</th>
                        <th style="width:20px;text-align:right;padding-right: 5px;">
                            <a style="cursor: pointer;"><i class="freshen"></i></a>
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="member in selectMemberList">
                        <td height="30">
                            {{$index +1}}
                        </td>
                        <td height="30">{{member.user_name}}</td>
                        <td height="30">{{member.mobile_tel}}</td>
                        <td height="30">{{member.user_type}}</td>
                        <td><a href="javascript:;" class="c-orange" ng-click="removeItem($index,member)">移除</a></td>
                        <td></td>
                    </tr>

                    </tbody>
                </table>
                <div class="no-data  ng-hide" style="height: 170px;">
                    <span style="margin: 38px auto 0;">暂无数据</span>
                </div>
            </div>
        </div>
    </div>
</div>